#include "stdafx.h"
#include "../../GameCore/CGame.h"
int CGame::_current_version = VERSION_200;//VERSION_IPAD,VERSION_200

extern "C" void SetMotionAnchor(int anchor);
extern "C" int GetMotionAnchor();
extern "C" float GetAccelX();

void CGame::UnloadSpriteVer(int spriteID,int version)
{
	
}
void CGame::UnloadSpriteVer(int spriteID)
{
	UnloadSpriteVer(spriteID,_current_version);
}
void CGame::LoadSpriteVer(int spriteID,int version,bool antialias,bool truecolor)
{
	
}
CSprite* CGame::GetSpriteVer(int spriteID, int version)
{
	
}

void CGame::LoadSpriteVer(int spriteID,bool antialias,bool truecolor)
{
	
}
CSprite* CGame::GetSpriteVer(int spriteID)
{
     //printf("\n_current_version = %d",spriteID);
	return GetSpriteVer(spriteID,_current_version);
}
int CGame::GetScreenWidth()
{
	if (_current_version == VERSION_100)
	{
		return 480;
	}	
	else if (_current_version == VERSION_IPAD)
	{
		return 1024;
	}
	return 960;
}
int CGame::GetScreenHeight()
{
	if (_current_version == VERSION_100)
	{
		return 320;
	}	
	else if (_current_version == VERSION_IPAD)
	{
		return 768;
	}
	return 640;
}
